defmodule LibPayment.Const do
  @moduledoc false

  @spec put(term(), term()) :: :ok
  def put(key, val) do
    :persistent_term.put(key, val)
  end

  @spec get(term()) :: term() | nil
  def get(key) do
    :persistent_term.get(key)
  end
end
